package com.dkm.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.dkm.entity.Trace;
import com.dkm.util.ResultUtil;

public interface TraceService {

	/**
	 * 多条件分页查询跟踪信息
	 * @param map
	 * @param pageable
	 * @return
	 */
	Page<Trace> findAllTraces(Map<String, Object> map,Pageable pageable);
	
	/**
	 * 添加跟踪信息
	 * @param trace
	 * @return
	 */
	ResultUtil addTrace(String user_id,String sid,Trace trace);
}
